﻿using Outlook.WorkItems.Extension.Addin.Forms;

namespace Outlook.WorkItems.Extension.Addin.Actions
{
    public class TrackInWorkItemAction : IBowieAction
    {
        private readonly OutlookItem _item;

        public TrackInWorkItemAction(OutlookItem item)
        {
            _item = item;
        }

        public void Do()
        {
            using (var frm = new CreateWorkItemWizard(_item))
            {
                frm.ShowDialog();
            }
        }
    }
}
